/**接口错误信息*/
export const ERROR_MESSAGE = "服务器开小差啦~~";
/**接口域名地址*/
export const BASE_URL = "";
/**接口超时时间*/
export const TIMEOUT = 60 * 1000;
/**接口携带cookie*/
export const WITH_CREDENTIALS = true;
/**MODULE_LIST*/
export const MODULE_LIST = "MODULE_LIST";
/**CUSTOM_GROUP*/
export const CUSTOM_GROUP = "CUSTOM_GROUP";
/**主题列表*/
export const THEME_LIST = [
  {
    name: "橙色(默认)",
    value: "theme-orange"
  },
  {
    name: "蓝色",
    value: "theme-blue"
  },
  {
    name: "绿色",
    value: "theme-green"
  },
  {
    name: "紫色",
    value: "theme-purple"
  }
];
/**组件列表*/
export const COMPONENT_LIST = [
  {
    name: "基础组件",
    list: [
      { id: "", name: "text", value: "", type: "text", icon: "fas fa-font", layout: false },
      { id: "", name: "image", value: "", type: "image", icon: "fas fa-image", layout: false },
      {
        id: "",
        name: "col",
        value: "",
        type: "col",
        icon: "fas fa-file-text",
        layout: false,
        attribute: [
          { key: "width", value: "1fr" },
          { key: "name", value: "colName" }
        ]
      },
      { id: "", name: "gutters", value: "", type: "gutters", icon: "fas fa-file-text", layout: false },
      { id: "", name: "fills", value: "", type: "fills", icon: "fas fa-file-text", layout: false },
      { id: "", name: "stroke", value: "", type: "stroke", icon: "fas fa-file-text", layout: false },
      { id: "", name: "str", value: "", type: "str", icon: "fas fa-file-text", layout: false }
    ]
  },
  {
    name: "布局组件",
    list: [
      { id: "", name: "tags", value: "", type: "tags", icon: "fas fa-tags", layout: true },
      { id: "", name: "page", value: "", type: "page", icon: "fas fa-tags", layout: true },
      { id: "", name: "stack", value: "", type: "stack", icon: "fas fa-tags", layout: true },
      { id: "", name: "grid", value: "", type: "grid", icon: "fas fa-tags", layout: true },
      { id: "", name: "cols", value: "", type: "cols", icon: "fas fa-tags", layout: true },
      { id: "", name: "contents", value: "", type: "contents", icon: "fas fa-tags", layout: true },
      {
        id: "",
        name: "rotate",
        value: "",
        type: "rotate",
        icon: "fas fa-tags",
        layout: true,
        attribute: [
          { key: "angle", value: "45deg" },
          { key: "alignment", value: "center" },
          { key: "reflow", value: "true" }
        ]
      }
    ]
  },
  {
    name: "组合组件",
    list: [
      {
        id: "",
        name: "图片旋转",
        value: "",
        type: "rotateImage",
        icon: "fas fa-object-group",
        layout: true,
        children: [
          {
            id: "",
            name: "rotate",
            value: "",
            type: "rotate",
            icon: "fas fa-tags",
            layout: true,
            attribute: [
              { key: "angle", value: "45deg" },
              { key: "alignment", value: "center" },
              { key: "reflow", value: "true" }
            ],
            children: [
              {
                id: "",
                name: "image",
                value: "profile.jpg",
                type: "image",
                icon: "fas fa-tags",
                layout: false,
                attribute: [{ key: "width", value: "114pt" }],
                children: []
              }
            ]
          }
        ]
      }
    ]
  },
  {
    name: "自定义组合组件",
    list: []
  }
];
